package com.lxb.cmsservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lxb.cmsservice.entity.CrmBanner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lxb.cmsservice.entity.Dto.QueryBannerDto;

import java.util.List;

/**
 * 首页banner表 服务类
 *
 * @author lixuebin
 * @since 2022-12-11
 */
public interface CrmBannerService extends IService<CrmBanner> {

    public List<CrmBanner> getAllList();

    Page<CrmBanner> pageBanner(Page<CrmBanner> bannerPage, QueryBannerDto queryBannerDto);

}
